Component({
  properties: {
    state: Boolean
  },
  data: {
    setHeight: 0
    // popupState:true
  },
  methods: {

  },

  attached() {
    var self = this
    wx.getSystemInfo({
      success(res) {
        self.setData({
          setHeight: res.statusBarHeight
        })
      }
    })
  }
})